package com.pg.auth.model.mapper;

import com.pg.auth.model.dto.sysuser.SysUserReq;
import com.pg.auth.model.dto.sysuser.SysUserVO;
import com.pg.auth.model.entity.SysUser;
import com.pg.base.component.PageVO;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/***
 * SysUserMapper
 * @Date : 2024-06-06 19:55:33

 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {



    @Select("select * from sys_user where 1=1 ${ew.customSqlSegment}")
    PageVO<SysUserVO> selectByPage(@Param("ew") PageVO page,@Param("param") SysUserReq param);
}